Velocity analysis of four bar mechanism